package com.li.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.li.domain.Dept;

import java.util.List;

public interface DeptService extends IService<Dept>{


    List<Dept> listQueryDept(String name);

    String addDept(Dept dept);

    String updateDept(Dept dept);

    List<Dept> listQueryDeptTree(Dept dept);

    boolean delDept(Integer deptId);
}
